// Mutual exclusion user lock.
struct user_spinlock {
  uint locked;       // Is the lock held?
};